#pragma once
/*
    5
    5
    12
    345
    6
*/
class CMyNTCall
{
public:
    typedef BOOL (*_hookFun)(...);
public:
    CMyNTCall()
    {
    }
    bool Init(HANDLE hHook)
    {
        m_hHook = hHook;

        bool bb = !!ReadProcessMemory(INVALID_HANDLE_VALUE,
            hHook, m_dwAry, sizeof(m_dwAry), NULL);
        m_dwAry[12] = 0xC3;;
        return bb;
    }
    HANDLE GetHook()
    {
        return m_hHook;
    }
    virtual HANDLE GetHookFun()
    {
        return m_dwAry;
    }
private:
    HANDLE m_hHook;
    BYTE m_dwAry[128];
};

